import requestAi from '@/request/index-ai.js';

export function aiQaDialogue(params) {
	return requestAi.post({
		url: '/ai-api/faq/conversation',
		data: params || {},
		custom: {
			title: "开始问答",
			authentication: true
		}
	});
}

export function getAiQaDetails(params) {
	return requestAi.get({
		url: '/ai-api/faq/details',
		params: params || {},
		custom: {
			title: "查询问答信息详情",
			authentication: true
		}
	});
}

export function praiseAiQaMsg(params) {
	return requestAi.get({
		url: '/ai-api/faq/evaluation',
		params: params || {},
		custom: {
			title: "问答点赞",
			authentication: true
		}
	});
}